GET students/{userIdentifier}/bookings/notEnded?classTypes[0]={classTypes[0]}&classTypes[1]={classTypes[1]}
Authorization
Access to this endpoint is granted if all following conditions are true:
- Authenticated user passes at least one of the following conditions: Authenticated user matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user is a staff member and is assigned to the same center as a user who matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user is a staff member and is assigned to the online center as a user who matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user matches identifier given in "userIdentifier, studentIdentifier" uri parameter.
- Authenticated user who is either StaffMember, Student
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userIdentifier | PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier |
Required |
|
classTypes | Collection of PearsonEnglish.LearningServices.Core.Models.Enums.ClassTypes |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PearsonEnglish.LearningServices.Wse.Models.StudentsBookedClassWithMaterialUrlName | Description | Type | Additional information |
---|---|---|---|
BookingId | globally unique identifier |
None. |
|
ClassId | globally unique identifier |
None. |
|
ClassType | integer |
None. |
|
IsOnline | boolean |
None. |
|
RefClassId | string |
None. |
|
ClassUnit | integer |
None. |
|
StartDate | date |
None. |
|
Duration | integer |
None. |
|
EndDate | date |
None. |
|
BookMode | PearsonEnglish.LearningServices.Core.Models.Enums.BookModes |
None. |
|
ClassTypeName | string |
None. |
|
CancelAvailable | boolean |
None. |
|
Description | string |
None. |
|
CenterId | globally unique identifier |
None. |
|
CenterName | string |
None. |
|
MaterialsUrl | string |
None. |
|
IsTechnologyEnabledCenter | boolean |
None. |
|
IsZoomEnabledCenter | boolean |
None. |
|
IsScheduledInOnlineCenter | boolean |
None. |
|
StandbyNotificationType | PearsonEnglish.LearningServices.Core.Models.Enums.StandbyNotificationType |
None. |
|
BookModeModifiedDate | date |
None. |
|
IsStudentClassAccessed | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "BookingId": "e972ebaa-756e-4135-9891-cc4f8c7a9ee9", "ClassId": "37dec62d-1bfd-4c5f-96d4-d916a3e708cc", "ClassType": 3, "IsOnline": true, "RefClassId": "sample string 4", "ClassUnit": 1, "StartDate": "2024-10-05T09:21:43.0960123+00:00", "Duration": 6, "EndDate": "2024-10-05T09:21:43.0960123+00:00", "BookMode": 0, "ClassTypeName": "sample string 8", "CancelAvailable": true, "Description": "sample string 10", "CenterId": "3f2c01fd-3db2-471a-9554-4996128ce376", "CenterName": "sample string 12", "MaterialsUrl": "sample string 13", "IsTechnologyEnabledCenter": true, "IsZoomEnabledCenter": true, "IsScheduledInOnlineCenter": true, "StandbyNotificationType": 1, "BookModeModifiedDate": "2024-10-05T09:21:43.0960123+00:00", "IsStudentClassAccessed": true }, { "BookingId": "e972ebaa-756e-4135-9891-cc4f8c7a9ee9", "ClassId": "37dec62d-1bfd-4c5f-96d4-d916a3e708cc", "ClassType": 3, "IsOnline": true, "RefClassId": "sample string 4", "ClassUnit": 1, "StartDate": "2024-10-05T09:21:43.0960123+00:00", "Duration": 6, "EndDate": "2024-10-05T09:21:43.0960123+00:00", "BookMode": 0, "ClassTypeName": "sample string 8", "CancelAvailable": true, "Description": "sample string 10", "CenterId": "3f2c01fd-3db2-471a-9554-4996128ce376", "CenterName": "sample string 12", "MaterialsUrl": "sample string 13", "IsTechnologyEnabledCenter": true, "IsZoomEnabledCenter": true, "IsScheduledInOnlineCenter": true, "StandbyNotificationType": 1, "BookModeModifiedDate": "2024-10-05T09:21:43.0960123+00:00", "IsStudentClassAccessed": true } ]